enter a document into the records